Multi Channel GRID & DCA LTF [trade_lexx]Multi Channel GRID & DCA LTF
Usage Guide
Part 1: The concept and general possibilities of the "Multi Channel GRID & DCA LTF" strategy
Introduction
Welcome to the guide to "Multi Channel GRID & DCA LTF", a powerful and versatile automated trading strategy for the TradingView platform. This tool was developed for traders who are looking for flexibility, control and a high degree of adaptability to various market conditions.
The strategy is based on a hybrid approach that combines two popular and time-tested techniques.:
1. GRID (grid trading): The classic method of averaging a position is by placing a grid of limit orders.
2. DCA (Dollar Cost averaging): Smart position averaging based on signals from external indicators.
However, "Multi Channel GRID & DCA LTF" goes far beyond the simple combination of these two techniques. The strategy includes a number of unique and innovative features, such as cascading MultiGRID grids for dealing with extreme volatility, Channel Mode range trading mode for profiting from sideways movement, and Low Time Frame analysis (LTF) to achieve surgical accuracy in backtesting. Deep customization options for risk management, capital, take profits, and stop losses allow you to configure a strategy for almost any trading style, asset, and timeframe.
The basic idea: How does it work?
Let's take a detailed look at each of the key concepts embedded in the logic of the strategy.
1. GRID — Automatic placement of buy and sell orders at certain price intervals.
This is a fundamental mode of operation. Its main goal is to systematically improve the average entry price for a position if the market is going against you.
* The principle of operation: After opening the base (first) order (`BO`), the strategy automatically places a series of pending limit orders (here they are called "safety orders" or "SO") at certain price intervals. For a long position, orders are placed below the entry price, and for a short position, orders are placed higher.
* Target: When the price moves against an open position, it consistently hits and executes safety orders. Each such execution adds additional volume to the position at a more favorable price, thereby shifting the overall average entry price (`position_avg_price') closer to the current market price. This means that a much smaller corrective movement will be required to gain ground.
* Flexibility: You have full control over the geometry of the grid: the number of safety orders, the percentage distance between them (`SO Step`), and you can even set a coefficient that will increase this step for each subsequent order (`SO Multiplier`), creating an expanding grid.
2. DCA (Signal Averaging) — Smart Averaging
This mode adds an additional layer of analysis to the averaging process. Instead of just buying/selling at the set price levels, the strategy waits for a confirmation signal.
* Working principle: You can connect any external indicator (for example, RSI, CCI, or even your own complex signal system) to the strategy, which outputs numerical values. As standard, 1 is used for a long signal, and -1 is used for a short signal. The strategy will place the next averaging order only at the moment when it receives the appropriate signal.
* Goal: To average a position not just during a fall (or a rise for a short), but at the moments that your main trading system considers the most favorable for this. This allows you to avoid "catching falling knives" and enter only if there are good reasons.
3. Hybrid Mode (GRID+DCA) is the best of the previous two modes
This mode is designed for maximum filtering and control. It requires two conditions to be fulfilled simultaneously.
* Working principle: The safety order will be executed only if the price has reached the calculated grid level and a confirmation signal has been received from your external indicator. If a confirmation signal is received from an external indicator, the next calculated grid level activates the limit order.
* Goal: To create the most reliable averaging system that protects against premature entries and requires double confirmation (both by price and indicator) before increasing the position size.
4. MultiGRID — Adaptation to extreme volatility
This is one of the most powerful and unique features of a strategy designed to survive and make a profit in the face of strong, protracted trends or "black swans".
* The problem it solves: The usual grid of orders has a limited depth. If the price goes beyond the last safety order, the strategy loses the opportunity to average and becomes vulnerable.
* The principle of operation: The MultiGRID function allows you to create "cascades" — several grids following one another. When all the orders of the first grid are executed, the strategy does not stop. Instead, she can activate the second, third (and so on) a grid of orders. The new grid can be activated by one of two triggers:
1. Offset: The new grid is activated when the price passes another set percentage deviation from the last executed order.
2. Signal: The new grid is activated when a signal is received from an external indicator.
* Goal: To significantly expand the working range of the strategy. This allows it to adapt to strong market movements that would "break" the usual grid, and continue to effectively average a position at a much greater depth of decline or growth.
5. Channel Mode — Trading in the range
This feature turns a standard averaging strategy into a machine for "farming" profits within a price channel that is formed during a sideways market movement.
* The problem it solves: In the standard grid strategy, after partially closing a take profit position, the volume of this part "leaves" the trade until the deal is fully closed. You are missing the opportunity to reuse this capital.
* Operating principle: When Channel Mode is enabled, the following happens. Suppose the price went against you, executed several safety orders, and then turned around and reached one of the partial take profits. At this point, the strategy is:
1. Fixes the profit, as it should be.
2. Instantly places a new limit order to buy (or sell for a short) at exactly the same price level where the last triggered safety order was executed. The volume of this order is equal to the volume of the part that was just closed for take profit.
3. If the price goes down again and executes this "repeat" order, the strategy immediately sets a corresponding take profit for it at the level where the previous profit was taken.
* Goal: To create a continuous buy-sell cycle within the local range (channel). The lower limit of the channel is the price of the last averaging, and the upper limit is the price of a partial take profit. This allows you to repeatedly profit from sideways price fluctuations, without waiting for the full closure of the main, large transaction.
6. LTF (Lower Timeframe Analysis) — Surgical precision of backtesting
This feature is critically important for obtaining reliable results during historical testing (backtesting) of grid strategies.
* The problem it solves: The standard testing mechanism in TradingView has a serious limitation. Working, for example, on a 4-hour chart, he sees only 4 candle points: Open, High, Low and Close. He does not know in what order the price moved within these 4 hours. He could have touched High first and then Low, or vice versa. For grid strategies, this is fatal — the engine can show that a take profit has been executed, although in reality the price first went down, collected the entire grid of orders and only then turned around.
* How it works: When you turn on the LTF mode, the strategy for each candle on your main chart (for example, 4H) requests and analyzes all candles from the lower timeframe you specified (for example, 1-minute). Then it virtually trades the entire price path for these minute candles, executing orders, take profits and stop losses in the sequence in which they would occur in reality. It works in the single take profit mode of the Grid strategy.
* Goal: To provide the most realistic and reliable backtest that reflects the real dynamics of the market. This allows you to avoid false expectations and accurately assess the potential performance of the strategy.
// ------------------------
Part 2: Detailed description of the strategy settings
This section is your main guide to all the switches and options available in the strategy. Understanding each setting is the key to unlocking the full potential of this powerful tool.
1. 🛡️ Risk Management 🛡️
This group contains fundamental parameters that determine the basic logic of risk management and the geometry of grid orders.
* Strategy type: Determines the direction of transactions.
* Long: The strategy will only open long positions (buy).
* Short: The strategy will only open short positions (sell).
* Both: The strategy will work both ways, opening long or short depending on the incoming signal.
* SO Count: Sets the maximum number of Safety (averaging) Orders (SO) that the strategy will place within the same grid. If you have MultiGRID enabled, this number applies to each individual grid.
* SO Step (%): This is the base percentage deviation from the entry price at which the first safety order will be placed. For example, at a value of 0.5, the first SO in a long trade will be placed 0.5% lower than the opening price of the base order.
* SO Multiplier: A coefficient that exponentially increases the step for each subsequent safety order. This allows you to create an expanding grid where averaging orders are placed further and further apart, which is effective with strong and accelerating price movements.
* *The step formula for the nth order*: Step(N) = (SO Step) * (SO Multiplier ^(N-1)).
* If the value is 1, all steps will be the same.
* With a value of 1.6, the step of the second SO will be 1.6 times larger than the first, the step of the third will be 1.6 times larger than the second, and so on.
* 1️⃣ TP/SL: These are simplified settings for quick configuration. They allow you to turn on/off the main take profit and stop loss and set basic percentage values for them. More detailed settings for these parameters can be found in the relevant sections below.
// ------------------------
2. 💰 Money Management 💰
Everything related to position size, leverage, and capital is configured here.
* Volume BO (Base Order): Determines the size of the trade's opening order.
* Volume BO: A fixed amount in the quote currency (for example, in USDT).
* USDT (check mark): Manages the information in the comments to the orders. If enabled, the volume of orders in USDT will be displayed in the comments. This is convenient for visual analysis and for sending the amount of USDT by the placeholder {{strategy.order.comment}} via webhooks when connecting the strategy to the exchange or trading terminals.
* or % of deposit: The amount calculated as a percentage of the available capital of the strategy. The check mark to the right of this field enables this mode. Important: using a percentage activates the effect of compounding (compound interest), as the amount of each new transaction will be automatically recalculated based on the current capital (initial capital + profit/loss). If enabled, the percentage of orders will be displayed in the comments. This is convenient for visual analysis and for sending percentages on the placeholder {{strategy.order.comment}} via webhooks when connecting the strategy to the stock exchange, trading terminals, or creating Copy trading.
* Martingale: The coefficient applied to the volume of orders. It increases the size of each subsequent insurance order compared to the base one.
* Volume formula for the nth SO: Volume SO (N) = (Volume BO) * (Martingale^N).
* With a value of 1.2, the volume of the first SO will be 1.2 times greater than the base, the second — 1.44 times (`1.2 * 1.2`) and so on.
* Leverage: Specify the size of your leverage. This parameter is used exclusively for calculating and displaying the approximate liquidation price. It does not affect the size of positions, but it helps to visually assess the risks.
* Liquidation: Enables or disables the calculation and display of the liquidation line on the chart.
* Margin type: Allows you to select a method for calculating the liquidation price, simulating the logic of exchanges:
* Isolated: The liquidation price is calculated based on the size and leverage of the current open position only.
* Cross: The calculation simulates using the entire available balance to maintain a position. In the strategy, the liquidation price is calculated as the level at which the loss on the current transaction is equal to the current capital.
* Commission (%): Specify the percentage of your exchange's commission per transaction. The correct value of this parameter is crucial for obtaining realistic backtest results.
// ------------------------
3. 🕸️ Grid Management 🕸️
This group is responsible for the logic of safety orders and advanced mechanics such as Channel Mode and MultiGRID.
* SO Type: Defines the logic of placing averaging orders.
* GRID: Classic grid. All safety orders are placed in advance as limit orders.
* DCA: Signal averaging. The strategy is waiting for a signal from an external indicator to place a market averaging order.
* GRID+DCA: Hybrid. The strategy waits for a signal, and if it arrives, places a limit order at the appropriate price level of the grid or executes a market order if the signal has arrived below the limit order level.
* Signal for SO: A data source (indicator) that will be used for signals in DCA and GRID+DCA modes.
* ↔️ Channel Mode: When this option is enabled, the strategy tries to trade in a sideways range. After partially closing a take profit position, it immediately places a limit order for re-entry at the price of the last triggered safety order. This creates a buy-sell cycle within the local channel.
* Best Price Only: This filter adds an additional condition for averaging in DCA and MultiGRID modes (when it operates on a signal). The next averaging order or a new grid will be activated only if the current price is more favorable (lower for long, higher for short) than the price of the previous entry.
* 🧩 MultiGRID ⮕ Enables cascading grid mode.
* Grid Count: The total number of grids that can be activated sequentially.
* Offset: Percentage deviation from the price of the last order of the previous grid. When this margin is reached, the following grid of orders is activated (this mode does not require a signal).
* Or signal: Allows you to use the signal from an external indicator as a trigger to activate the next grid. The checkmark on the right turns on this mode.
// ------------------------
4. 🎯 Entry and Stop 🎯
This group of settings allows you to fine-tune the conditions for starting a new trade and all aspects related to protective stop orders, including the complex mechanics of trailing and managing SL after partial take profits.
* 🎯 Signal: A data source (indicator) that will be used to determine when to enter a trade. The strategy expects a value of 1 for the start of a long trade and -1 for a short trade.
* Min Bars: Sets the minimum number of candles that must pass from the moment of opening the previous trade to the moment of opening the next one. A value of 0 disables this filter. This is a useful tool to prevent overly frequent entries in a "noisy" market.
* Non-stop: If this option is enabled, the strategy ignores the Entry Signal and opens a new trade immediately after closing the previous one (taking into account the Min Bars filter, if it is set). This turns the strategy into a constantly working mechanism that is always on the market.
* 🛑 SL Type: Defines the base price from which the stop loss percentage will be calculated. The stop loss in the first section must be enabled for this block of settings to work.
* From the entry point: SL is always calculated from the opening price of the very first base order. It remains static throughout the entire transaction unless it is moved by other functions.
* From breakeven line: SL is dynamically recalculated and shifted each time a safety order is executed. It always follows the average price of the position, being at a given percentage distance from it.
* From last executed SO: SL is recalculated from the price of the last executed order, whether it is a base or a safety order.
* From last SO: SL is calculated from the price of the most recent possible safety order in the grid. This is usually the most remote and conservative type of SL.
* Trailing SL Type: Defines the algorithm by which the stop loss will move after its activation.
* Standard: Classic trailing. After activation, SL will follow the price at a fixed distance.
* ATR: SL will follow the price at a distance equal to the value of the ATR indicator multiplied by the specified multiplier.
* External Source: SL will follow any selected line of the third-party indicator.
* Period and Multiplier: Common parameters for all types of trailing.
* Source: The source of the line for the trailing SL of the third-party indicator.
* Trailing SL after entry: The mode of activation of the trailing SL after entering the transaction
* SL management after TP (sections 1️⃣, 2️⃣, 3️⃣): These three blocks allow you to create a complex stop loss management logic as profits are recorded.
For each take profit level (TP1, TP2, TP3), you can configure:
* SL BE / SL TP1 / SL TP2: When the corresponding TP is reached, the stop loss will be moved to the breakeven point (for TP1), to the TP1 price level (for TP2) or to the TP2 price level (for TP3).
* Trailing SL: When the corresponding TP is reached, the trailing stop loss is activated according to the settings above.
* By ↔️ Signal: A very powerful option. If it is enabled, the above action (SL transfer or trailing activation) will occur when the opposite trading signal is received from an external indicator. This allows you to protect profits or reduce losses if the market turns sharply, even before reaching the target.
* SL Delay ⮕ Allows you to delay the activation of the stop loss.
* Number of Bars: The Stop loss will be physically placed on the market only after the specified number of candles has passed since entering the trade. This can help to avoid "taking out" the stop with a random short movement (squiz) immediately after opening a position.
* SL Block: Unique defensive mechanics for trading both ways (`Strategy Type: Both`).
* Number of SL: If the strategy receives the specified number of stop losses in a row in one direction (for example, 2 stops long), it temporarily blocks the opportunity to open new trades in that direction.
* Lock Reset mode:
* By direction: The lock is lifted if a profitable trade is closed in the allowed direction or if a stop loss is triggered in the opposite direction.
* First profit: The lock is lifted after closing any profitable transaction, regardless of its direction.
// ------------------------
5. ✅ Take Profit ✅
This group of settings provides comprehensive control over profit taking, from a simple take profit to a complex system of partial closures and trailing.
* ✅ TP Type: Defines the base price for calculating the percentage deviation of the take profit.
* From entry point: TP is calculated from the base order price.
* From breakeven line: TP dynamically follows the average position price.
* From last executed SO: TP is calculated from the price of the last executed order.
* Filters for closing on signal
* Only ➕: If TP is triggered by a signal, the deal will be closed only if it is in the black relative to the average price.
* Or >TP: If TP is triggered by a signal, the trade will be closed only if the closing price is better than (or equal to) the estimated price of this TP.
* TP type of trailing: Yes, take profit has a trailing too! It works differently than the SL trailing.
* Standard / ATR: After the price touches the "virtual" TP level, the trailing is activated. He does not place a stop order, but begins to move away from the price, dynamically moving the limit order to close further and further in the profitable direction, allowing him to collect the maximum from the impulse movement.
* External Source: TP will follow any selected line of the third-party indicator.
* Period and Multiplier: Parameters for calculating the trailing margin TP.
* Source: The source of the line for the trailing TP of the third-party indicator.
* TP level settings (sections 1️⃣, 2️⃣, 3️⃣, 4️⃣): The strategy supports up to four independent take profit levels, which allows for a flexible system of partial commits.
For each level, you can set:
* TP: Enable the level and set its percentage deviation from the base price.
* Size: What percentage of the current position will be closed when this level is reached. For the last active TP, this parameter is ignored, and 100% of the remaining position is closed.
* Trailing TP: Enable the above-described trailing mechanism for this particular level.
* Signal: Enable closing based on the signal from the external indicator for this level.
* Or take: If both the closing on the signal and the limit order are enabled, then whatever comes first will work.
* After SO: Activate this TP level only after the specified number of safety orders has been executed. This allows you to set closer targets for riskier (deeply averaged) positions.
// ------------------------
6. 🔬 GRID and MultiGrid Analysis on Lower TFs (LTF) 🔬
This group activates one of the most important functions for accurate testing of grid strategies.
* Enable LTF Calculation ⮕ The main switch of the analysis mode on the lower timeframes.
* Timeframe selection: A drop-down list where you can select a timeframe for detailed analysis. For example, if your main schedule is 1 hour, you can select 1 minute here. The strategy will emulate the trading of minute candles within each hour candle.
❗️Important: As mentioned in the first part, the use of this mode is critically necessary to obtain realistic backtest results, especially for strategies with a dense grid of orders. Without it, the results may be overly optimistic and not reflect the real dynamics of the market. It should be remembered that TradingView imposes a limit on the number of intra-bars (minor TF bars) that can be requested. This is usually about 100,000 bars.
// ------------------------
7. 🕘 Backtest Date Range 🕘
This group allows you to focus testing on a specific historical period.
* Limit Date Range: Enables date filtering.
* Start time: The date and time when the strategy will start analyzing and opening deals.
* End time: The date and time after which the strategy will stop opening new deals and complete testing.
// ------------------------
8. 🎨 Visualization 🎨
All the options responsible for the appearance and information content of the chart are collected here.
* Show PnL labels: Enables/disables the display of text labels with the result (profit/loss) after closing each trade.
* Statistics Table: Enables/disables the main dashboard with detailed statistics on the results of the backtest.
* Strategy Settings Table: Enables/disables an additional panel that summarizes all the key parameters of the current configuration.
* Monthly Profit Table: Enables/disables a table with a breakdown of percentage returns by month and year.
* Table settings: For each of the three tables, you can individually adjust the Text size and Table Position on the screen to position them as conveniently as possible.
* Decimal places: Defines how many decimal places will be displayed in numeric values in tables and on labels.
// ------------------------
9. ✉️ Webhook Settings ✉️
This group is intended for traders who want to automate trading on strategy signals using third-party services and exchanges (for example, 3Commas, WunderTrading, Cryptorobotics, Cryptohopper, Bitsgap, Binance, ByBit, OKX, Pionex, Bitget or proprietary solutions).
For each key event in the strategy, there is a separate switch and a text field:
* Webhook for Open: Enable and set a message for the webhook that will be sent when the base order is opened.
* Webhook for Averaging: A message sent when executing any insurance order.
* Webhook for Take Profit: A message sent when closing on take profit (including partial ones).
* Webhook for Stop-Loss: A message sent when a stop loss is closed.
You can insert a JSON code or any other message format that your service requires for automation into the text fields. The strategy supports special placeholders (for example, `{{strategy.order.alert_message}}`), which allow you to dynamically insert the necessary data into the message, such as the amount of USDT or the percentage of the deposit for entry, averaging and take profit orders.
在腳本中搜尋"Buy sell"
Multi EMA Cross with EMA ConfluenceMulti EMA Cross with EMA Confluence
This indicator combines the power of multiple EMA crossovers with a higher-timeframe confluence filter to help traders visualize potential bullish and bearish conditions on their charts.
Two groups of EMAs work together to establish alignment:
Group 1 (Fast / Slow Pair) – Shorter-term momentum shifts
Group 2 (Fast / Slow Pair) – Broader trend confirmation
On top of that, an optional Confluence EMA (default 200 EMA) acts as an additional filter, ensuring that signals align with the larger market trend.
Key features:
Customizable EMA lengths, colors, and confluence settings
Background highlighting when conditions align bullish or bearish
Clear buy/sell labels when new conditions trigger
Flexible enough to adapt across timeframes and trading styles
This tool is designed to enhance chart clarity and help you stay aligned with momentum and trend. It is not meant to replace your own analysis but rather to complement it.
Disclaimer: This script is for educational and informational purposes only. It is not financial advice. Trading involves risk, and you should always do your own research or consult with a licensed financial professional before making investment decisions.
Auto Fib V2Auto Fib V2 — Advanced Fibonacci Mapping Tool
Introduction
Auto Fib V2 is an advanced Fibonacci retracement indicator that automatically adapts to recent market ranges. Rather than manually drawing Fibonacci lines, this script dynamically maps them based on the most recent highs and lows, allowing traders to see the chart as if it were a "navigation map." Its primary purpose is to help identify potential buy and sell zones with greater clarity.
Key Concept
The script is built on a simple but powerful interpretation of Fibonacci retracement:
When the price moves below the 0.236 level, it suggests an oversold zone, where buyers may step in and market reversal potential increases.
When the price rises above the 0.764 level, it highlights an overbought zone, where sellers may become more active and risk of reversal grows.
Between these extremes, the Golden Pocket (0.382–0.618 zone) is highlighted as the area where institutional traders and algorithms often react. Historically, this is one of the most respected Fibonacci areas in technical analysis.
Features & Customization
Automatic Range Detection: The indicator automatically finds the recent high/low (based on user-defined lookback bars) and applies Fibonacci levels.
Flexible Direction Setting: Traders can use Auto Mode to let the script decide direction from price movement, or manually choose upward/downward mapping.
Multiple Levels Display: Beyond the standard levels, extra fractional retracements (0.146, 0.309, 0.441, etc.) are included for more precise mapping.
Golden Pocket Highlighting: Visually emphasizes the 0.382–0.618 retracement zone for quick recognition.
Custom Styles: Switch between line-based and dot-based plotting, with adjustable colors and transparency for improved readability.
Practical Use
Auto Fib V2 is not intended as a direct buy/sell signal generator, but as a contextual guide. Traders can use it to:
Confirm whether the current price area is closer to an overbought or oversold condition.
Combine it with oscillators (RSI, MACD) or trend indicators (EMA, ADX) to strengthen trading decisions.
Identify confluence zones where Fibonacci levels overlap with key supports/resistances.
Quickly adapt to market shifts without the need to redraw Fibonacci retracement lines repeatedly.
Why Use Auto Fib V2?
Manual Fibonacci drawing can be subjective, often depending on the swing points a trader chooses. Auto Fib V2 reduces that subjectivity by using consistent logic, creating a more systematic approach. For intraday traders, it provides rapid context to assess whether the market is stretched or balanced. For swing traders, it offers a map of reaction zones across higher timeframes.
Aethix Cipher DivergencesAethix Cipher Divergences v6
Core Hook: Custom indicator inspired by VuManChu B, Grok-enhanced for crypto intel—blends WaveTrend (WT) oscillator with multi-divergences for buy/sell circles (green/teal buys #00FFFF, red sells) and dots (divs, gold overbought alerts).
Key Features:
WaveTrend Waves: Dual waves (teal WT1, darker teal WT2) with VWAP (purple for neon vibe), overbought/oversold lines, crosses for signals.
Divergences: Regular/hidden for WT, RSI, Stoch—red bearish, green bullish dots; extra range for deeper insights.
RSI + MFI Area: Colored area (green positive, red negative) for sentiment/volume flow.
Stochastic RSI: K/D lines with fill for overbought/oversold trends.
Schaff Trend Cycle: Purple line for cycle smoothing.
Sommi Patterns: Flags (pink bearish, blue bullish) and diamonds for HTF patterns, purple higher VWAP.
MACD Colors on WT: Dynamic WT shading based on MACD for enhanced reads.
Gestor DeFi Pools con CFBManual DeFi Strategy Manager
What does this indicator do?
It combines cryptocurrency trading with DeFi strategies:
Trading signals: When to buy/sell based on EMAs and momentum
AAVE management: When to switch collateral between ETH and USDC
Uniswap V3: Optimal ranges for liquidity pools
🚨 Indicator Signals (Quick Reference)
Symbol Meaning Action
▲E Lime Early ETH Start switching to ETH (aggressive)
▲C Green Confirm ETH Confirm switch to ETH (safe)
▲D Teal DCA ETH Scale ETH position (+10%)
▼E Orange Early USDC Start switching to USDC (aggressive)
▼C Red Confirm USDC Confirm switch to USDC (safe)
▼D Dark Red DCA USDC Scale USDC position (-10%)
❌ Dark Red EMERGENCY Repay loan NOW
LP+ Lime Create NEW LP Open liquidity pool
LP? Green LP Opportunity Similar pool available
LP- Orange Close LP Close liquidity pool
REB Yellow Rebalance Adjust pool ranges
WAIT Gray Pause Wait before acting
Graphic Elements
Element Color Description
Blue Line Blue Fast EMA (10)
Red Line Red Slow EMA (55)
Purple Lines Purple CFB Adaptive Bands
Colored Band Green/Yellow/Red LP range (color = risk)
Orange Background Orange Active squeeze
Blue Background Blue Trending market
Red Background Red Strong breakout
🚀 Installation and Basic Setup
Step 1: Installation (MANDATORY)
Open TradingView → Pine Editor
Create new indicator
Copy and paste the full code
Save as "DeFi Strategy Manager"
Add to ETHUSDC 1H chart
Step 2: Basic Configuration (MANDATORY)
Only two parameters need to be configured:
🎯 Strategy Mode:
🟢 Conservative (±20%): 0.05% daily, very low risk
🟡 Balanced (±10%): 0.2% daily, medium risk
🔴 Aggressive Day Trading (±5%): 0.5% daily, high risk
⚡ Ultra Scalper (±2%): 0.8% daily, extreme risk
⏰ Timeframe:
Scalping (minutes): 0.5x narrower ranges
Day Trading (hours): 0.8x narrower ranges
Swing (days): 1.2x wider ranges
Position (weeks): 1.8x wider ranges
✅ Ready to Use!
Once configured:
✅ Indicator calculates everything automatically
✅ CFB Adaptive is enabled by default (recommended)
✅ Machine Learning learns from your signals automatically
✅ Dashboard shows expected profits in real time
## 📊 Dashboard Explicado (TV makes me write this in English, but the dashboard is in Spanish, so...)
El tablero superior derecha muestra información esencial en tiempo real con 15 indicadores clave:
### Configuración y Setup:
- **Estrategia**: Tu modo seleccionado (Conservador/Balanceado/Agresivo/Scalper) + temporalidad
- **Rango Final**: El rango actual de Uniswap V3 después de todos los ajustes automáticos
- **ML Confidence**: Porcentaje de éxito de señales pasadas (70%+ = alta confianza)
- **Config Status**: Comparación con tu perfil base + recomendaciones de ajuste
### Estado del Mercado:
- **Market State**: Tipo de mercado (Tendencial/Lateral) + condiciones de squeeze + dirección
- **CFB Status**: Estado del sistema adaptativo CFB + posición del precio + rango dinámico
### Performance y Retornos:
- **Performance**: Tu retorno actual + ganancias proyectadas diarias/mensuales
- **Expected APY**: Retorno anual esperado con clasificación de riesgo
### Gestión de Pools:
- **Pool Status**: Estado actual de tu pool de liquidez + drift de precio + tiempo activo
- **Pool Ranges**: Rangos de precio específicos superior e inferior + distancias actuales
### Señales y Acciones:
- **Trend Progress**: En qué dirección optimiza la estrategia (ETH/USDC/ninguna)
- **Señal Activa**: Qué señal está ejecutándose ahora (Early/Confirm/DCA)
- **Acción Prioritaria**: Próxima acción recomendada con emoji de estado
### Monitoreo de Riesgo:
- **Risk Level**: Nivel de riesgo de Impermanent Loss + rango de volatilidad del mercado
- **Overall Status**: Estado general del sistema + puntuación para day trading
#### **🔧 Ejemplo de Dashboard Simplificado:**
```
📊 DEFI CFB SMART │ VALOR │ STATUS
─────────────────────┼───────────────────┼──────────────────
Estrategia │ Agresivo DT │ Day Trading
Rango Final │ ±5.8% │ 🟡 MEDIO
Confianza ML │ 67% │ MEDIA (12)
Estado Config │ +15% │ CONFIGURACIÓN OK
Estado Mercado │ Lateral-Release │ ↑BULL DÉBIL
Rendimiento │ 5.2% │ $50/día $1.5K/mes
APY Esperado │ 182% │ 🟡 ALTO
Estado CFB │ ACTIVO ↑$2,247 │ ±6.2%
Estado Pool │ ACTIVO │ 2.3% drift 4h
Rangos Pool │ $2,180-2,314 │ +3.1% / -4.2%
Progreso Trend │ ETH Trend │ DCA Ready
Señal Activa │ ETH DCA │ Scale Up
Acción Prioritaria │ Swap → ETH │ 🔄
Nivel Riesgo │ IL: 🟡 MEDIO │ Vol: 45%ile NORMAL
Estado General │ ✅ NORMAL │ ÓPTIMO DT (1.2x)
🎯 DeFi Context: AAVE Collateral Management
Triangle signals can be used for both traditional trading and AAVE collateral management:
🏦 What is AAVE?
AAVE is a lending protocol where you can:
Deposit collateral (ETH or USDC)
Borrow against that collateral
Switch collateral type to optimize your position
🔄 Two ways to use the signals:
💹 Traditional Trading:
▲ ETH Signal: Buy ETH with fiat
▼ USDC Signal: Sell ETH for fiat
Goal: Profit by buying low and selling high
🏦 AAVE Management (Recommended for DeFi):
▲ Swap → ETH: Switch your collateral from USDC to ETH (expecting ETH to rise)
▼ Swap → USDC: Switch your collateral from ETH to USDC (expecting ETH to fall)
Goal: Optimize collateral value without changing total amount
💡 Practical AAVE Example:
You have $10,000 in USDC as collateral in AAVE
↓
▲E Early ETH appears
↓
You switch your collateral: $10,000 USDC → $10,000 ETH
↓
If ETH rises 20%, your collateral is worth $12,000
↓
▼E Early USDC appears
↓
You switch back: $12,000 ETH → $12,000 USDC
↓
You gained $2,000 by optimizing your collateral
⚠️ Advantages of the AAVE approach:
No extra money needed – use existing collateral
Loan remains active – continue using borrowed USDC for LP
Lower taxes – collateral swaps vs buy/sell
Higher efficiency – optimize without changing main strategy
🎯 Strategies by Profile
🟢 Conservative – "Confirmations Only":
Follow only: ▲C/▼C (Confirmation signals)
Ignore: Early signals (too risky)
Strategy: Switch only when trend is confirmed
Result: Fewer changes, more safety
🟡 Balanced – "Gradual":
Early: ▲E/▼E (25% of position)
Confirm: ▲C/▼C (50% additional)
DCA: ▲D/▼D (remaining 25%)
Result: Balanced risk/optimization
🔴 Aggressive – "Full Cycle":
Early: ▲E/▼E (50% immediately)
Confirm: ▲C/▼C (30% additional)
Each DCA: ▲D/▼D (maintain full optimization)
Result: Maximum optimization, maximum risk
📈 Advanced Configuration (Optional)
🔬 CFB Adaptive MOGALEF (Enabled by Default)
CFB Adaptive Ranges: Smart system that adjusts ranges based on market volatility and momentum.
Enabled (default): Ranges adapt automatically
Disabled: Uses fixed ranges based on your setup
Manual Override: Full manual control if desired
🤖 Machine Learning: Learns from past signals (last 20) and improves accuracy automatically. If ML Signal Quality > 70%, signals are highly reliable.
💰 Yield Optimization: Suggests when to switch between conservative and aggressive for better returns:
"OPTIMAL": Your current setup is fine
"GO CONSERVATIVE": You could earn more with wider, safer ranges
"GO AGGRESSIVE": You could earn more with tighter ranges (more risk!)
📊 Portfolio Tracker: Tracks estimated P&L starting from $10,000. Includes LP and IL fees, excludes gas fees. Use as a trend indicator.
Manual Override (Experts Only)
To customize:
Enable "Override Manual" in Advanced Settings
Manually adjust your preferred range
To return to automatic: disable override
📝 Detailed Input Configuration (Advanced)
👤 Basic User Configuration
Strategy Mode: Select your base risk profile
Conservative (±20%): Prioritize safety over returns. Ideal for beginners or large capital (> $50K)
Balanced (±10%): Balance between safety and returns. Recommended for most users
Aggressive Day Trading (±5%): For active users who monitor frequently. Higher returns, more risk
Scalper Ultra (±2%): For professionals only. Requires constant monitoring
Timeframe: Adjust strategy frequency
Scalping (minutes): 50% narrower ranges. For very active trading
Day Trading (hours): 20% narrower ranges. For review every few hours
Swing (days): 20% wider ranges. For daily review
Position (weeks): 80% wider ranges. For weekly review
🔬 CFB Adaptive MOGALEF
CFB Length (8): Period for CFB filter. Lower = more sensitive
CFB Adaptive Length (20): Period for adaptive volatility. Affects band adjustment speed
CFB Band Multiplier (2.0): Band width. Higher = wider bands
CFB Smoothing (3): Volatility smoothing. Reduces noise
CFB Adaptive Ranges (true): Enable/disable adaptive system
CFB Sensitivity (1.0): Filter sensitivity. 0.3 = conservative, 3.0 = very aggressive
🎛️ Advanced Settings
Dynamic Ranges (true): Adjust ranges based on market conditions
Breakout Protection (true): Automatically widens ranges during breakouts
IL Alerts (true): Shows Impermanent Loss warnings
Manual Override (false): Disables automation, uses manual range
Manual Range % (5.0): Fixed range if override is enabled
📈 TradingLatino Core
Fast EMA (10): Fast moving average period. Lower = more sensitive
Slow EMA (55): Slow moving average period. Determines main trend
ADX Length (14): ADX calculation period. Industry standard
ADX Threshold (23): Minimum ADX to consider strong trend
🏊♂️ Pool Management
Pool Range Tolerance % (20.0): % of price movement considered valid for pool
Missed Opportunity Window (24): Bars to keep missed opportunity visible
Recommendation: Use default settings until familiar with the system. Values are optimized for balance between precision and usability.
Volume Imbalance Heatmap + Delta Cluster [@darshakssc]🔥 Volume Imbalance Heatmap + Delta Cluster
Created by: @darshakssc
This indicator is designed to visually reveal institutional pressure zones using a combination of:
🔺 Delta Cluster Detection: Highlights candles with strong body ratios and volume spikes, helping identify aggressive buying or selling activity.
🌡️ Real-Time Heatmap Overlay: Background color dynamically adjusts based on volume imbalance relative to its moving average.
🧠 Adaptive Dashboard: Displays live insights into current market imbalance and directional flow (Buy/Sell clusters).
📈 How It Works:
A candle is marked as a Buy Cluster if it closes bullish, has a strong body, and exhibits a volume spike above average.
A Sell Cluster triggers under the inverse conditions.
The heatmap shades the chart background to reflect areas of high or low imbalance using a color gradient.
⚙️ Inputs You Can Adjust:
Volume MA Length
Minimum Body Ratio
Imbalance Multiplier Sensitivity
Dashboard Location
🚫 Note: This is not a buy/sell signal tool, but a visual aid to support institutional flow tracking and confluence with your existing system.
For educational use only. Not financial advice.
Volume Stack with Dollar Volume ScoreThis script is designed to analyze candles for buy/sell pressure, volume flows, and generate intuitive emoji-based signals. Its core function is to help traders visually and quantitatively interpret price and volume behavior for potential bullish, bearish, or neutral market states.
Key Features and Logic
Price Range Analysis: Calculates the candle's price range and determines the proportion of volume attributed to buyers and sellers using buy_percent and sell_percent.
Market State Classification:
Bullish/Bearish/Neutral: Based on buy/sell percentage comparisons.
Strong Signals: Flags when buy/sell pressure exceeds defined thresholds (≥0.75).
Transitions: Detects when states shift sharply (e.g., from bull to strong bear).
Visual Cue System:
Uses different emojis (📈, 📉, 🚀, 🔥, 💎, 💀, ❌) to mark normal, strong, transition, and neutral signals for easy chart interpretation.
Dollar Volume Calculation: Multiplies close price by volume to derive "dollar volume" per bar. Normalizes this with a moving average for context-sensitive spike detection.
Scoring Mechanism:
Dollar Volume Score: Evaluates the normalized change in dollar volume, assigning scores for strong (±2), mild (±1), or neutral (0) changes.
Buy/Sell Pressure Score: Calculates a simple pressure score based on buy/sell proportions for each candle.
Composite Score: Combines both scores to define the overall bullish/bearish/neutral state.
State & Emoji Plotting:
Plots respective emojis at the chart bottom depending on composite score and state (bullish, bearish, strong moves, transitions, neutral).
Alerts:
Sends alerts for key transitions (like bull-to-strong-bear), strong moves, and neutral states, aiding automated signal handling and decision-making.
What This Script Helps You Achieve
Quick Visual Insights: Instantly see important market states and transitions with chart emojis.
Volume Context Awareness: Incorporates both price action and normalized volume changes for more reliable signals.
Automated Alerts: Supports smart trading decisions via pop-up notifications on major shifts or important conditions.
This script provides a layered analysis approach for volume and price action, blending quantifiable scores with intuitive chart markers and automated alerts, making it highly suited for traders who rely on both visual and quantitative cues in their strategy.
Smart Wick AnalyzerSmart Wick Analyzer (SWA)
Purpose: Highlight potential liquidity‑grab candles (long wicks) and turn them into actionable, rule‑based buy/sell signals with trend, volume, and cooldown filters.
Type: Indicator (not a strategy). Educational tool to contextualize wick events.
🧠 What This Script Does
SWA looks for candles where the wick is large relative to its body—a common signature of liquidity sweeps / rejection. It then adds three confirmations before marking a trade signal:
1. Wick Event
• Upper‑wick event (possible rejection from above)
• Lower‑wick event (possible rejection from below)
• Condition: wick length > body × Wick‑to‑Body Ratio
2. Context Filters
• Trend filter : closing price vs. SMA of lookbackBars
• Volume filter : current volume vs. average volume × volumeThreshold
3. Signal Hygiene
• Cooldown : prevents clustering; a minimum number of bars must pass before a new signal is allowed.
If a candle passes these checks:
• Buy Signal (triangle up): long lower wick + price above SMA + relative‑high volume + cooldown passed
• Sell Signal (triangle down): long upper wick + price below SMA + relative‑high volume + cooldown passed
The signal candle is also bar‑colored black for quick visual focus.
⸻
✳️ What the Dotted Lines Mean (including the green one)
On every signal bar the script draws two dotted horizontal levels, extended to the right:
• Open line of the signal candle
• Close line of the signal candle
• They use the signal color: green for Buy, red for Sell.
How to interpret (example: green = Buy signal):
• The green dotted close line represents the momentum validation level. If subsequent candles close above this line, it indicates follow‑through after the wick rejection (buyers defended into the close).
• The green dotted open line is a risk context / invalidation reference. If price falls back below it soon after the signal, the wick event may have failed or devolved into chop.
In your annotated chart: the candle initially looked constructive (“closing above could be positive momentum”), but later price failed and rotated down—hence a sell signal interpreted when an upper‑wick event occurred under down‑trend conditions.
⸻
⚙️ Inputs & What They Control
• Wick‑to‑Body Ratio (wickThreshold): how “extreme” a wick must be to count as a liquidity‑grab.
• Lookback Period (lookbackBars):
• SMA period for trend context
• Volume MA for relative‑volume check
• Volume Multiplier (volumeThreshold): strengthens/loosens volume confirmation.
• Cooldown Bars (cooldownBars): minimum spacing between consecutive signals.
• Enable Alerts (showAlerts): turns on alert conditions.
⸻
🔔 Alerts (exact titles)
• “SWA Buy Alert” — potential reversal / Buy signal detected
• “SWA Sell Alert” — potential reversal / Sell signal detected
⸻
📌 How to Use (practical guide)
1. Scan for the black‑colored signal candle and its dotted lines.
2. For Buy signals (green): Prefer continuation if price closes above the green close line within the next few bars. Manage risk using the open line or your own level.
3. For Sell signals (red): Prefer continuation if price closes below the red close line.
4. Avoid chasing during low‑volume / counter‑trend signals; the filters help, but structure (HTF trend, S/R, session context) still matters.
5. Use the cooldown to reduce noise on fast time frames.
⸻
✅ Why This Isn’t Just “Another Wick Indicator”
• The script does not flag every long‑wick; it requires trend alignment and relative volume to suggest participation.
• The two reference lines (open/close) provide post‑signal state tracking—a simple, visual framework to judge follow‑through vs. failure without additional tools.
• Cooldown logic discourages clustered, low‑quality repeats around the same zone.
⸻
⚠️ Notes & Limitations
• Works across markets/time frames, but wick behavior varies by instrument and session. Parameters may need adjustment.
• Signals are contextual, not guarantees. Consolidation and news spikes can invalidate wick reads.
• This indicator is not a strategy; it does not backtest performance on its own.
⸻
📄 Disclaimer
This tool is for educational purposes only and should be combined with personal analysis and risk management. Markets are uncertain; past behavior does not guarantee future results.
[Top] LHAMA SupertrendLHAMA Supertrend - Advanced Adaptive Trend Following System
Overview
The LHAMA Supertrend is an innovative trend-following indicator that combines adaptive moving average technology with intelligent signal confirmation. Unlike traditional supertrend indicators that rely on simple moving averages, this system uses my Low-High Adaptive Moving Average (🦙 LHAMA) algorithm that dynamically adjusts to market volatility and price action patterns. It is much more responsive to sudden price changes than traditional supertrend indicators, allowing you to jump in earlier and catch more of the move, and it manages this responsiveness without significantly increasing the number of false signals.
What Makes This Original
This indicator introduces several unique concepts not found in standard trend-following tools:
LHAMA Algorithm : The core innovation is the Low-High Adaptive Moving Average, which adapts its responsiveness based on the frequency of new highs and lows within a lookback period. This creates a more intelligent baseline that responds appropriately to different market conditions.
Delayed Confirmation System : Rather than generating immediate signals on price crossovers, the indicator implements a sophisticated confirmation mechanism using slope analysis. Signals are only triggered when both trend direction and momentum align, significantly reducing false signals.
Volume Integration : Optional volume weighting enhances the adaptive calculation, giving more weight to price movements during high-volume periods.
Daily Reset Functionality : Unique daily reset feature helps realign the indicator after overnight gaps, particularly useful for equity markets.
How It Works
LHAMA Calculation
The LHAMA baseline adapts using a coefficient derived from:
Frequency of new highs and lows in the lookback period
Optional volume weighting factor
Smoothed adaptation rate based on market activity
The calculation:
lhama = previous_lhama + momentum_adaptation * (price - previous_lhama)
Where the momentum adaptation increases when markets are making new highs or lows, allowing faster response during trending conditions while providing stability during consolidation.
Signal Generation
The indicator uses a two-stage signal process:
Trend Identification : Price position relative to LHAMA determines basic trend bias
Slope Confirmation : ATR-normalized slope analysis confirms momentum direction
Signal Timing : Buy/sell signals only trigger when trend direction and slope momentum align
Visual Components
LHAMA Line : The adaptive baseline with optional angle-based gradient coloring that visualizes momentum strength
Trend Clouds : Dynamic fill areas that adapt to the last confirmed signal direction
ATR Halo : Opposite-side ATR band providing optional additional context for stop-loss placement
Confirmation Signals : Clear BUY/SELL labels only appear after full confirmation
How to Use
Basic Setup
Apply to any timeframe and symbol
Default LHAMA length of 15 periods works well for most applications
Accuracy depends greatly on chart timeframe and symbol, so make sure to backtest before relying on any signals. For example, ES and NQ work best on the 15m timeframe while GC and CL work best on the 5m.
Enable daily reset for equity markets to handle overnight gaps
Signal Interpretation
Immediate Heads-up : Small triangles show instant trend changes for awareness. These are your warnings to get ready to buy or sell if price takes off. (If many triangles are being printed in both directions, that is a warning that the market is ranging and you should not blindly follow a BUY/SELL signal without additional confirmation.)
Confirmed Signals : BUY/SELL labels appear only after slope confirms the direction
Cloud Color : Locked to the last confirmed signal direction for clear regime identification
Advanced Features
Flat Threshold : Adjust the angle threshold to filter out sideways market noise
Gradient Mode : Toggle between classic supertrend coloring and momentum-based gradients
ATR Halo : Use the opposite-side cloud as a more generous trailing stop level
Risk Management
The indicator provides multiple levels for stop-loss placement:
Tight : Edge of the main trend cloud
Standard : The LHAMA Line itself
Generous : ATR halo boundary
Best Practices
Timeframe Selection : Not all timeframes on all symbols are created equal. Make sure to scroll to the left and verify that your current chart timeframe isn't throwing out tons of bad signals. This will be easy to spot as it show up as constant rapid flipping from buy to sell.
Market Conditions : Performs best in trending markets. The flat threshold setting helps filter out poor performance during strong sideways action, but no indicator is perfect.
Confirmation : Wait for confirmed BUY/SELL signals rather than acting on immediate trend flips for better risk-adjusted returns.
Key Parameters
LHAMA Length (15) : Controls the lookback period for adaptive calculation
Daily Reset : Helps maintain accuracy across overnight gaps
Flat Threshold (5°) : Filters out low-momentum signals
Volume Weighting : Enhances adaptation during high-volume periods
Alerts
The indicator provides two alert types:
"BUY (confirmed)": Triggers when bullish trend and upward slope align
"SELL (confirmed)": Triggers when bearish trend and downward slope align
These alerts fire only on confirmed signals, not on immediate price crossovers, providing higher-quality notifications.
Innovation Summary
This indicator advances trend-following methodology by introducing adaptive baseline calculation, intelligent signal confirmation, and comprehensive visual feedback systems. The combination of LHAMA adaptation, slope-based confirmation, and multi-layered risk management tools creates a more sophisticated approach to trend analysis than traditional supertrend indicators.
The result is a tool that maintains responsiveness during trending conditions while providing stability during consolidation, with clear visual cues for entry, exit, and risk management decisions.
WaveTrend Dynamic (Lazy Bear Style)█ OVERVIEW
The WaveTrend Dynamic indicator (in the style of Lazy Bear) is an advanced tool based on the Exponential Smoothing Average (ESA), which adapts to the volatility and price of a financial instrument. It is more flexible than the classic WaveTrend but shares a similar concept of bands around a main oscillator line.
The indicator uses dynamic bands calculated as distances from the ESA, with their width adjustable via the "level" parameter. This allows it to be tailored to various markets, timeframes, and volatility conditions, making it easier to identify trends, reversal points, and buy/sell signals.
█ CONCEPTS
The WaveTrend Dynamic combines oscillator functions with trend analysis. Below, we explain the key components in a simple way, understandable even for beginner users.
Core Calculations
The indicator relies on the adaptive ESA and a few straightforward steps:
1 — ESA (Adaptive Average): Calculated as a smoothed average of the price (from high, low, and close, or HLC3) using the ESA Length parameter (default: 10). This number determines how many past candles are considered in the calculation. The ESA quickly responds to price changes, helping to track trends.
2 — Deviation (D): Measures how much the price deviates from the ESA, factoring in market volatility. This allows the indicator to adapt to different instruments.
3 — Price Distance Indicator (CI): Shows how far the price is from the ESA relative to market volatility. This forms the basis for the main indicator line, reacting to price movements.
4 — WT1 (WaveTrend 1): The main line, smoothing the Price Distance Indicator (CI) with the Average Length parameter (default: 21). It reflects the direction of price movement and momentum.
5 — WT2 (WaveTrend 2): A signal line that further smooths WT1 (with a period of 4). It helps confirm signals through crossovers with WT1.
6 — Bands (UpperBand and LowerBand): These form a dynamic channel around the ESA. Their width depends on the level parameter (default: 100). Wider bands result in fewer but more reliable signals. In the original WaveTrend, the oscillator bands use lower values, such as 50 or 60. To achieve classic oscillator signals (more frequent WT1/WT2 crossovers outside the bands), set the level to 50–60.
Trend Identification
The indicator identifies two types of trends:
• Major Trend: Determined by the position of WT1 relative to the ESA. When WT1 is above the ESA, it indicates a bullish trend. When below, it signals a bearish trend. Line and fill colors reflect this trend.
• Mini-Trend: Based on WT1 and WT2 crossovers. When the lines cross, they change to the same color, signaling short-term changes or reversal points. This is ideal for quick trading decisions.
Visuals and Effects
• WT1 and WT2 Lines: Scaled to price and displayed on the price chart for easier analysis.
• Fills: Between the bands (UpperBand/LowerBand) and between WT1/WT2, with a "wave" effect that adjusts transparency based on the trend (green for bullish, red for bearish).
• Signals: Three types—return-to-band, WT1/WT2 crossovers outside the bands, and crossovers inside the bands. Signals are displayed as triangles with different colors for buy and sell.
█ FEATURES
Detailed features of the indicator, aligned with the order of settings in the script:
• Basic Parameters: ESA Length — controls ESA smoothing; Average Length — affects WT1 responsiveness; level (WT Level) — adjusts band width for signal filtering.
• Display Elements: Options to show/hide ESA, bands, WT1/WT2; customizable colors for lines, fills, and the wave effect.
• Signals: Three signal groups (return-to-band, crossovers outside bands, crossovers inside bands) with display and color customization options.
█ HOW TO USE
1 — Add the indicator to your TradingView chart and adjust parameters: — Increase ESA Length and Average Length for low-volatility markets (e.g., stocks), or decrease for cryptocurrencies or forex. — Set level to 50–60 for classic WaveTrend signals with WT1/WT2 crossovers outside bands. The default value of 100 creates wider bands and fewer signals.
2 — Analyze trends: — Major trend (WT1 vs. ESA) shows the overall market direction. — Mini-trends (WT1/WT2 crossovers) help time short-term entries.
3 — Use signals: — Return-to-band: Buy at the lower band, sell at the upper band (mean-reversion). — Crossovers outside bands: Indicate strong momentum (with a lower level, e.g., 50). — Crossovers inside bands: Signal weaker trend changes.
4 — Combine with other tools: Use with volume, RSI, or support/resistance for better decisions. Test on historical data to optimize settings.
Awesome Indicator# Moving Average Ribbon with ADR% - Complete Trading Indicator
## Overview
The **Moving Average Ribbon with ADR%** is a comprehensive technical analysis indicator that combines multiple analytical tools to provide traders with a complete picture of price trends, volatility, relative performance, and position sizing guidance. This multi-faceted indicator is designed for both swing and positional traders looking for data-driven entry and exit signals.
## Key Components
### 1. Moving Average Ribbon System
- **4 Customizable Moving Averages** with default periods: 13, 21, 55, and 189
- **Multiple MA Types**: SMA, EMA, SMMA (RMA), WMA, VWMA
- **Color-coded visualization** for easy trend identification
- **Flexible configuration** allowing users to modify periods, types, and colors
### 2. Average Daily Range Percentage (ADR%)
- Calculates the average daily volatility as a percentage
- Uses a 20-period simple moving average of (High/Low - 1) * 100
- Helps traders understand the stock's typical daily movement range
- Essential for position sizing and stop-loss placement
### 3. Volume Analysis (Up/Down Ratio)
- Analyzes volume distribution over the last 55 periods
- Calculates the ratio of volume on up days vs down days
- Provides insight into buying vs selling pressure
- Values > 1 indicate more buying volume, < 1 indicate more selling volume
### 4. Absolute Relative Strength (ARS)
- **Dual timeframe analysis** with customizable reference points
- **High ARS**: Performance relative to benchmark from a high reference point (default: Sep 27, 2024)
- **Low ARS**: Performance relative to benchmark from a low reference point (default: Apr 7, 2025)
- Uses NSE:NIFTY as default comparison symbol
- Color-coded display: Green for outperformance, Red for underperformance
### 5. Relative Performance Table
- **5 timeframes**: 1 Week, 1 Month, 3 Months, 6 Months, 1 Year
- Shows stock performance **relative to benchmark index**
- Formula: (Stock Return - Index Return) for each period
- **Color coding**:
- Lime: >5% outperformance
- Yellow: -5% to +5% relative performance
- Red: <-5% underperformance
### 6. Dynamic Position Allocation System
- **6-factor scoring system** based on price vs EMAs (21, 55, 189)
- Evaluates:
- Price above/below each EMA
- EMA alignment (21>55, 55>189, 21>189)
- **Allocation recommendations**:
- 100% allocation: Score = 6 (all bullish signals)
- 75% allocation: Score = 4
- 50% allocation: Score = 2
- 25% allocation: Score = 0
- 0% allocation: Score = -2, -4, -6 (bearish signals)
## Display Tables
### Performance Table (Top Right)
Shows relative performance vs benchmark across multiple timeframes with intuitive color coding for quick assessment.
### Metrics Table (Bottom Right)
Displays key statistics:
- **ADR%**: Average Daily Range percentage
- **U/D**: Up/Down volume ratio
- **Allocation%**: Recommended position size
- **High ARS%**: Relative strength from high reference
- **Low ARS%**: Relative strength from low reference
## How to Use This Indicator
### For Trend Analysis
1. **Moving Average Ribbon**: Look for price above ascending MAs for bullish trends
2. **MA Alignment**: Bullish when shorter MAs are above longer MAs
3. **Color coordination**: Use consistent color scheme for quick visual analysis
### For Entry/Exit Timing
1. **Performance Table**: Enter when showing consistent outperformance across timeframes
2. **Volume Analysis**: Confirm entries with U/D ratio > 1.5 for strong buying
3. **ARS Values**: Look for positive ARS readings for relative strength confirmation
### For Position Sizing
1. **Allocation System**: Use the recommended allocation percentage
2. **ADR% Consideration**: Adjust position size based on volatility
3. **Risk Management**: Lower allocation in high ADR% stocks
### For Risk Management
1. **ADR% for Stop Loss**: Set stops at 1-2x ADR% below entry
2. **Relative Performance**: Reduce positions when consistently underperforming
3. **Volume Confirmation**: Be cautious when U/D ratio deteriorates
## Best Practices
### Timeframe Recommendations
- **Intraday**: Use lower MA periods (5, 13, 21, 55)
- **Swing Trading**: Default settings work well (13, 21, 55, 189)
- **Position Trading**: Consider higher periods (21, 50, 100, 200)
### Market Conditions
- **Trending Markets**: Focus on MA alignment and relative performance
- **Sideways Markets**: Rely more on ADR% for range trading
- **Volatile Markets**: Reduce allocation percentage regardless of signals
### Customization Tips
1. Adjust reference dates for ARS calculation based on significant market events
2. Change comparison symbol to sector-specific indices for better relative analysis
3. Modify MA periods based on your trading style and market characteristics
## Technical Specifications
- **Version**: Pine Script v6
- **Overlay**: Yes (plots on price chart)
- **Real-time Updates**: Yes
- **Data Requirements**: Minimum 252 bars for complete calculations
- **Compatible Timeframes**: All standard timeframes
## Limitations
- Performance calculations require sufficient historical data
- ARS calculations depend on selected reference dates
- Volume analysis may be less reliable in low-volume stocks
- Relative performance is only as good as the chosen benchmark
This indicator is designed to provide a comprehensive analysis framework rather than simple buy/sell signals. It's recommended to use this in conjunction with your overall trading strategy and risk management rules.
CTA-min D1 — Donchian 55/20 Trend Breakout (ATR Risk)What it is
A clean, daily trend-following breakout inspired by classic CTA/Turtle logic. It buys strength and sells weakness, then lets winners run with a channel-based trailing stop. No curve-fitting, no clutter—just rules.
How it trades
Timeframe: Daily (D1)
Entry: Close breaks the previous 55-bar Donchian channel (above for longs, below for shorts).
Exit/Trail: Trailing stop at the 20-bar Donchian channel on the opposite side (no fixed TP).
Risk: Initial stop = ATR(N) × stopMult (ATR is smoothed). Position size risks riskPct% of equity based on stop distance.
Labels: “BUY/SELL” only on the entry bar; “STOP BUY/STOP SELL” only on the exit bar.
Pyramiding: Off (one position at a time).
Regime Alignment with EMAs (recommended filter, not enforced by code)
Add EMA 50 and EMA 200 to the D1 chart.
Long bias: take BUY signals only when EMA50 > EMA200 (bullish regime).
Short bias: take SELL signals only when EMA50 < EMA200 (bearish regime).
Optional: for extra selectivity, require the H4 EMAs (50/200) to align with D1 before acting on a signal.
Inputs
entryN (55), exitN (20), atrLen (20), atrSmooth (10), stopMult (2.0), riskPct (0.5%–1.0% recommended).
Works well on (tested by user)
BTCUSD (Bitcoin), EURUSD, GBPJPY, NAS100/US100, USDJPY, AUDUSD, XAGUSD (Silver), US30 (Dow), JP225 (Nikkei), EURGBP, NZDUSD, EURCHF, USDCHF.
How to use
Apply to D1 charts. Review once per day after the daily close and execute next session open to mirror backtest assumptions. Best used as a portfolio strategy across multiple uncorrelated markets. Use the EMA alignment above as a discretionary regime filter to reduce false breakouts.
Notes
For educational use. Markets involve risk; past performance does not guarantee future results. Use responsible position sizing.
ADX Phantom SniperADX Phantom Sniper is a precision trend-following tool that combines three powerful forces:
1. ADX & DI Crossover Trigger – Detects strong directional moves only when the trend strength exceeds a defined threshold.
2. Multi-Timeframe (MTF) Confirmation – Executes on the current chart timeframe (e.g., M15) only if the higher timeframe (H1) confirms the same trend direction.
3. Force Index Momentum Filter – Filters entries based on bullish/bearish momentum to avoid weak signals.
Signal Logic:
BUY: EMA14 > EMA100, price above EMA14, +DI crosses above -DI, ADX > threshold, Stochastic crosses above signal line in the bullish zone (>50), MTF trend aligned, Force Index > 0 (optional).
SELL: EMA14 < EMA100, price below EMA14, -DI crosses above +DI, ADX > threshold, Stochastic crosses below signal line in the bearish zone (<50), MTF trend aligned, Force Index < 0 (optional).
Features:
Noise filtering with trend structure + higher timeframe alignment
On-chart BUY/SELL labels for easy signal spotting
Optional Force Index filter toggle
Adjustable ADX threshold, EMA lengths, Stochastic settings, and higher timeframe choice
Suitable for scalping and swing entries depending on timeframe
Recommended Setup:
Primary chart: M15
Higher timeframe confirmation: H1
Combine with your preferred risk management rules.
Disclaimer:
This tool is for educational purposes only and is not financial advice. Past performance does not guarantee future results. Use at your own risk.
Candlestick Pattern Buy/Sell signalsOverview
This indicator provides clear, non-repainting Buy and Sell arrows directly on your chart to help you easily spot high-probability reversal opportunities. It's designed to be a clean and simple visual tool for traders who want to make informed manual trading decisions without a cluttered screen.
The logic is based on an evolution of classic candlestick patterns, specifically adapted to find more frequent signals on the 1-Hour timeframe.
How Signals Are Generated
To ensure reliability and avoid false signals, every arrow is the result of a two-step confirmation process:
The Setup Candle: First, the indicator identifies a potential reversal pattern. This can be a "Flexible" Pin Bar (Hammer or Shooting Star) or a classic Engulfing pattern.
The Trigger Arrow: A BUY or SELL arrow will only be plotted on your chart after the next candle confirms the setup by breaking the high or low of the setup candle. This confirmation method ensures the signal has momentum behind it.
The Signal Logic
The indicator is looking for two main types of reversal patterns:
Flexible Pin Bars: The rules for Hammers and Shooting Stars have been loosened to catch more signals. The main wick must be at least 1.5 times the size of the candle's body, making it more adaptive to the 1-Hour chart.
Classic Engulfing Patterns: It identifies powerful Bullish and Bearish Engulfing patterns where one candle's body completely overtakes the body of the previous candle, signaling a strong shift in control.
How to Use This Indicator
This tool is designed to be a key part of your own trading system.
Add the indicator to your chart.
Set your chart's timeframe to 1-Hour.
When a green BUY arrow appears, it serves as a strong suggestion of a potential long entry.
When a red SELL arrow appears, it serves as a strong suggestion of a potential short entry.
Confirmation: a candle close above a buying signal (Long), and below selling signal (short)
for extra confluence use a moving average such a 50 or 100 EMA and or volume.
Only go long or buy above EMA, and sell or short below EMA
Important: This indicator should be used as a confirmation tool alongside your own analysis of market structure, support/resistance levels, and the overall trend. It is not a complete, standalone trading system.
Disclaimer: This indicator is for educational and informational purposes only and does not constitute financial advice. All trading involves risk.
MacD Alerts MACD Triggers (MTF) — Buy/Sell Alerts
What it is
A clean, multi-timeframe MACD indicator that gives you separate, ready-to-use alerts for:
• MACD Buy – MACD line crosses above the Signal line
• MACD Sell – MACD line crosses below the Signal line
It keeps the familiar MACD lines + histogram, adds optional 4-color histogram logic, and marks crossovers with green/red dots. Works on any symbol and any timeframe.
How signals are generated
• MACD = EMA(fast) − EMA(slow)
• Signal = SMA(MACD, length)
• Buy when crossover(MACD, Signal)
• Sell when crossunder(MACD, Signal)
• You can compute MACD on the chart timeframe or lock it to another timeframe (e.g., 1h MACD on a 4h chart).
Key features
• MTF engine: choose Use Current Chart Resolution or a custom timeframe.
• Separate alert conditions: publish two alerts (“MACD Buy” and “MACD Sell”)—ideal for different notifications or webhooks.
• Visuals: MACD/Signal lines, optional 4-color histogram (trend & above/below zero), and crossover dots.
• Heikin Ashi friendly: runs on whatever candle type your chart uses. (Tip below if you want “regular” candles while viewing HA.)
Settings (Inputs)
• Use Current Chart Resolution (on/off)
• Custom Timeframe (when the above is off)
• Show MACD & Signal / Show Histogram / Show Dots
• Color MACD on Signal Cross
• Use 4-color Histogram
• Lengths: Fast EMA (12), Slow EMA (26), Signal SMA (9)
How to set alerts (2 minutes)
1. Add the script to your chart.
2. Click ⏰ Alerts → + Create Alert.
3. Condition: choose this indicator → MACD Buy.
4. Options: Once per bar close (recommended).
5. Set your notification method (popup/email/webhook) → Create.
6. Repeat for MACD Sell.
Webhook tip: send JSON like
{"symbol":"{{ticker}}","time":"{{timenow}}","signal":"BUY","price":"{{close}}"}
(and “SELL” for the sell alert).
Good to know
• Symbol-agnostic: use it on crypto, stocks, indices—no symbol is hard-coded.
• Timeframe behavior: alerts are evaluated on bar close of the MACD timeframe you pick. Using a higher TF on a lower-TF chart is supported.
• Heikin Ashi note: if your chart uses HA, the calculations use HA by default. To force “regular” candles while viewing HA, tweak the code to use ticker.heikinashi() only when you want it.
• No repainting on close: crossover signals are confirmed at bar close; choose Once per bar close to avoid intra-bar noise.
Disclaimer
This is a tool, not advice. Test across timeframes/markets and combine with risk management (position sizing, SL/TP). Past performance ≠ future results.
KSL-Fullsystem🔥 KSL Indicator คืออะไร? ใช้งานยังไงให้แม่นยำสุดๆ?
KSL คืออินดิเคเตอร์อัจฉริยะที่ช่วยบอก “จุดเปลี่ยนสำคัญของราคา”
ไม่ใช่แค่ดูกราฟมั่ว ๆ แล้วเดาสุ่ม!
📌 จุดเด่นของ KSL คือ “กรอบสีเขียว/แดง”
เมื่อราคามีแรงซื้อหรือแรงขายรุนแรง KSL จะสร้าง กรอบสีเขียว (Buy) หรือ กรอบสีแดง (Sell) ขึ้นมาทันที เพื่อแสดงให้เห็นว่า "ตรงนี้แหละ! คือจุดที่ตลาดมีแรงจริง!"
แต่จำไว้...
อย่ารีบเข้าออเดอร์ทันที!
✅ วิธีใช้งานที่แม่นยำ (เข้าใจง่ายมาก!)
🔹 ขั้นที่ 1: รอให้เกิดสัญญาณ (กรอบขึ้น)
🔹 ขั้นที่ 2: รอราคาย่อ / ดีดกลับมา “แตะกรอบ”
🔹 ขั้นที่ 3: ถ้ามีแรงกลับตัว → เข้าออเดอร์!
📍 กรอบสีเขียว/แดง = โซนต้นทางของแรง
คือโซนที่มีโอกาสเกิดแรงซื้อหรือขายซ้ำอีกครั้ง
ทำให้การเข้าเทรดของคุณ “แม่นยำขึ้น ปลอดภัยขึ้น”
🕒 ใช้ได้ทุก Timeframe ตั้งแต่ M1 ถึง H4
TF ใช้ยังไง จุดเข้า SL TP
M1-M5 เทรดเร็ว จบไว รอแตะกรอบแล้วเข้า นอกกรอบนิดเดียว ตามเป้าส่วนตัว
M15-M30 เห็นแนวโน้มชัด รอรีเทสต์แล้วแท่งย้ำทิศ SL นอกกรอบ TP ตามจังหวะ
H1-H4 เทรนด์แรง เทรนด์ยาว รอกลับตัวจากกรอบ SL นอกกรอบ เหมาะกับสาย Swing
💡 สรุปเข้าใจง่าย ๆ
❌ ห้ามเทรดทันทีหลังเห็นสัญญาณ!
✅ ให้รอราคากลับมาแตะกรอบก่อน
เพราะ:
🔹 กรอบ = จุดเริ่มต้นของแรง (เหมือน Supply/Demand Zone)
🔹 การเข้าเมื่อราคาย้อนกลับมา จะลดความเสี่ยง “ไล่ราคา”
🔹 ช่วยให้ได้จุดเข้าแม่น + SL สั้น + RR ดีขึ้น
📲 อยากลองใช้ KSL Indicator?
ทักมาเลยครับ! ทีมงานพร้อมสอนการใช้งานแบบ Step-by-step
ให้คุณเทรดได้อย่างมั่นใจ ไม่ต้องเดาทิศตลาดอีกต่อไป!
📍 ติดต่อผ่านไลน์: @kslacademy
หรือคลิกเลย: 👉 lin.ee/s5tk5BF
🔥 What is the KSL Indicator? How to Use It Accurately Like a Pro?
KSL is a smart trading indicator that helps identify critical price turning points —
Forget guessing or relying on random chart patterns!
📌 Key Feature: Green/Red Zones
Whenever there’s strong buying or selling pressure, KSL immediately highlights a
Green Box (Buy Signal) or Red Box (Sell Signal) to show you:
“This is where the real momentum started!”
But here’s the catch…
Never enter a trade immediately after the signal!
✅ How to Use KSL for Maximum Accuracy
🔹 Step 1: Wait for a signal box to appear
🔹 Step 2: Wait for price to pull back and retest the box
🔹 Step 3: If there's a sign of reversal → Enter your trade!
📍 The Green/Red Box = Origin Zone of Momentum
It’s where buy/sell pressure may happen again,
giving you a high-probability entry point.
🕒 Works on All Timeframes (M1 to H4)
Timeframe Usage Strategy
M1–M5 Fast scalping: Wait for retest and enter. Keep SL just outside the box.
M15–M30 Clearer trend: Wait for retest + confirmation candle. SL outside box, TP based on trend.
H1–H4 Strong swing trades: Wait for reversal signal at the box. SL outside box. Best for longer moves.
💡 Quick Summary
❌ Don’t jump in right after the signal!
✅ Wait for price to retest the box first.
Why?
🔹 The box = origin of real momentum (like a supply/demand zone)
🔹 Retesting gives a safer entry with better risk/reward
🔹 Helps avoid chasing price and getting trapped
📲 Ready to try KSL Indicator?
Message us now! Our team will guide you step-by-step
so you can trade with confidence — no more second-guessing the market!
📍 LINE: @kslacademy
👉 Or click: lin.ee/s5tk5BF
Double Fractal Entry📘 Double Fractal Entry – Original Structure-Based Entry System
Double Fractal Entry is a proprietary indicator that uses dynamic fractal structure to generate actionable buy/sell signals, with automatic Stop-Loss and Take-Profit placement. Unlike classic fractal tools or ZigZag-based visuals, this script constructs real-time structural channels from price extremes and offers precise entry points based on breakout or rejection behavior.
It is designed for traders who want a clear, structured approach to trading price action — without repainting, lagging indicators, or built-in oscillators.
🧠 Core Logic
This script combines three custom-built modules:
1. Fractal Detection and Channel Construction
- Fractals are detected using a configurable number of left/right bars (sensitivity).
- Confirmed upper/lower fractals are connected into two continuous channels.
- These channels represent real-time structure zones that evolve with price.
2. Entry Signal Logic
You can choose between two signal types:
- Breakout Mode – Triggers when price breaks above the upper fractal structure (for buys) or below the lower one (for sells).
- Rebound Mode – Triggers when price approaches a fractal channel and then rejects it (forms a reversal setup).
Each signal includes:
- Entry arrow on the chart
- Horizontal entry line
- Stop-Loss and Take-Profit lines
3. SL/TP Calculation
Unlike tools that use ATR or fixed values, SL and TP are dynamically set using the fractal range — the distance between the most recent upper and lower fractals. This makes the risk model adaptive to market volatility and structure.
📊 Visuals on the Chart
- 🔺 Green/Red triangle markers = confirmed fractals
- 📈 Lime/Red channel lines = evolving upper/lower structure
- 🔵 Blue arrow = signal direction (buy/sell)
- 📉 SL/TP lines = dynamically drawn based on fractal spacing
- 🔁 Signal history = optional, toggleable for backtesting
⚙️ Settings and Customization
- Fractal sensitivity (bars left/right)
- Entry mode: Breakout or Rebound
- SL and TP multiplier (based on fractal range)
- Visibility settings (signal history, lines, colors, etc.)
💡 What Makes It Unique
This is not just a variation of standard fractals or a ZigZag wrapper.
Double Fractal Entry was built entirely from scratch and includes:
- ✅ A dual-channel system that shows the live market structure
- ✅ Entry signals based on price behavior around key zones
- ✅ Volatility-adaptive SL/TP levels for realistic trade management
- ✅ Clean, non-repainting logic for both manual and automated use
The goal is to simplify structure trading and provide precise, repeatable entries in any market condition.
🧪 Use Cases
- Breakout mode – Ideal for trend continuation and momentum entries
- Rebound mode – Great for reversals, pullbacks, and range-bound markets
- Can be used standalone or combined with volume/trend filters
⚠️ Disclaimer
This tool is intended for technical analysis and educational use. It does not predict future market direction and should be used with proper risk management and strategy confirmation.
Yuri Garcia Smart Money Strategy FULL (COMPLIANT)Yuri Garcia Smart Money Strategy FULL (Slope Divergence)
This script is not a mashup of random indicators. It is an original, coherent strategy that blends multiple institutional-grade tools to form a unified Smart Money trading system. Each component contributes to precise trade filtering, context, and confirmation — no element is decorative or redundant.
🔍 Strategy Logic: How It Works
This strategy integrates the following tools, each with a clearly defined role:
1. Volume Cluster Zones (Orange bands)
Identifies strong buy/sell areas using the highest volume nodes over a rolling window. These act as dynamic points of control where Smart Money is likely active.
2. HTF Zones (4H) (Purple band)
Defines institutional zones by using the 20-bar high/low on the 4-hour chart. These set the outer bounds for valid entries, ensuring alignment with larger market structure.
3. Wick Pullback Filter (Orange circle 🔶)
Detects exhaustion or absorption near zones. Used to confirm genuine rejection after liquidity sweeps or traps.
4. Cumulative Delta Confirmation (Red square 🟥)
Analyzes whether buyers or sellers are dominant using delta volume. Trades only trigger when volume confirms the intended direction.
5. Slope-Based Delta Divergence (Optional)
Detects hidden reversals between price and delta. This prevents late entries and provides early insight into potential trap reversals.
6. Liquidity Grab Detection (Blue diamond 🔷)
Marks smart money stop hunts — temporary price breaks beyond highs/lows, followed by reversal. Used as a confluence tool.
7. ATR-Based Dynamic Risk Control
The strategy uses ATR to calculate SL/TP dynamically. This allows position sizing to adjust to volatility, reducing overexposure in high-momentum conditions.
🎯 Entry Criteria
All the following conditions must be met:
✅ Price is inside a Volume Cluster Zone
✅ Price is within the HTF Institutional Zone
✅ Wick Pullback confirms reaction
✅ Delta confirms strength of buyers/sellers
✅ (Optional) Slope-based divergence signals hidden shift
✅ (Optional) Liquidity grab occurs
Only then will the strategy trigger an entry.
📈 Visual Legend (Symbols on Chart)
Symbol Description
🟣 Purple Zone HTF Support/Resistance zone (4H context)
🟠 Orange Zone Volume cluster from top 3 volume nodes
🔶 Orange Circle Wick Pullback confirmation
🟥 Red Square Delta Confirmation
🔷 Blue Diamond Liquidity Grab indicator
🔵 Blue X Price is inside HTF Zone
🔻 Red Triangle SHORT entry signal
🔺 Green Triangle LONG entry signal
These visuals make it easier to read the chart intuitively while understanding each condition’s role.
⚙️ Strategy Settings Justification
Default Qty: 2% of equity (sustainable risk)
RRR: 2.0 (adaptive to volatility)
ATR Multiplier: 2.0 for SL/TP
Commission: 0.1% used
Slippage: 2 points for realism
Minimum Trades for Testing: Designed to generate over 100 trades under normal backtest conditions
Dataset: Supports BTC, GOLD, Forex, Indices with realistic volatility and volume
These settings reflect a realistic use case for average retail traders and avoid overfitting or unrealistic returns.
📌 How to Use
Apply on 15-minute or 1-hour timeframe.
Wait for full alignment of all entry conditions.
Confirm visually or use included alerts for manual or bot execution.
SL and TP are automatically handled.
🚫 Important Notes
This script is original, not a remix or mashup of unrelated indicators.
Each component was designed to work in harmony, enhancing trade quality and confidence.
No external scripts are required to function.
Alert messages are pre-formatted for both manual and webhook use.
Smart MTF Bias Detector v3 (Debug)Here's a breakdown of the "Smart MTF Bias Detector v3 (Debug)" indicator's five main filters:
Main Trend (Multi-Timeframe Heikin Ashi)
The green/red background indicates the trend from Heikin Ashi candles on the H1 timeframe (or your set timeframe).
If the Heikin Ashi candle closes above its open, the background is green (indicating an upward bias).
If the Heikin Ashi candle closes below its open, the background is red (indicating a downward bias).
Short-Term Trend Filter (EMA50)
The yellow line represents the EMA50.
Buy only when the price closes above the EMA50.
Sell only when the price closes below the EMA50.
Abnormal Buy/Sell Pressure Detection (Volume Spike)
Purple dots signify candles where the volume is greater than the SMA (Simple Moving Average) of volume over N previous candles, multiplied by a specified multiplier.
This confirms there's "force" driving the price up or serious selling pressure.
Momentum Filter (Stochastic RSI)
Blue upward triangles and orange downward triangles indicate when %K crosses %D.
It uses Oversold/Overbought targets (20/80) to avoid crosses in the middle ranges.
Pivot Break (Fractal Breakout)
Red "X" marks represent Fractal Highs, and green "X" marks represent Fractal Lows.
Red/green up/down arrows indicate breakouts of these levels (e.g., a previous High being broken means an upward breakout, or a previous Low being broken means a downward breakout).
BUY Signal Conditions
A BUY signal will be generated when:
The background is green (HTF Trend ↑).
The Stoch RSI crosses up from below the Oversold zone (blue arrow).
A Fractal Low breakout occurs (Fract UP arrow).
The price is above the EMA50.
There is a Volume Spike (purple dot).
SELL Signal Conditions
A SELL signal will be generated when:
The background is red (HTF Trend ↓).
The Stoch RSI crosses down from above the Overbought zone (orange arrow).
A Fractal High breakout occurs (Fract DOWN arrow).
The price is below the EMA50.
There is a Volume Spike (purple dot).
Double Fractal Entry📘 Double Fractal Entry – Original Structure-Based Entry System
Double Fractal Entry is a proprietary indicator that uses dynamic fractal structure to generate actionable buy/sell signals, with automatic Stop-Loss and Take-Profit placement. Unlike classic fractal tools or ZigZag-based visuals, this script constructs real-time structural channels from price extremes and offers precise entry points based on breakout or rejection behavior.
It is designed for traders who want a clear, structured approach to trading price action — without repainting, lagging indicators, or built-in oscillators.
🧠 Core Logic
This script combines three custom-built modules:
1. Fractal Detection and Channel Construction
- Fractals are detected using a configurable number of left/right bars (sensitivity).
- Confirmed upper/lower fractals are connected into two continuous channels.
- These channels represent real-time structure zones that evolve with price.
2. Entry Signal Logic
You can choose between two signal types:
- Breakout Mode – Triggers when price breaks above the upper fractal structure (for buys) or below the lower one (for sells).
- Rebound Mode – Triggers when price approaches a fractal channel and then rejects it (forms a reversal setup).
Each signal includes:
- Entry arrow on the chart
- Horizontal entry line
- Stop-Loss and Take-Profit lines
3. SL/TP Calculation
Unlike tools that use ATR or fixed values, SL and TP are dynamically set using the fractal range — the distance between the most recent upper and lower fractals. This makes the risk model adaptive to market volatility and structure.
📊 Visuals on the Chart
- 🔺 Green/Red triangle markers = confirmed fractals
- 📈 Lime/Red channel lines = evolving upper/lower structure
- 🔵 Blue arrow = signal direction (buy/sell)
- 📉 SL/TP lines = dynamically drawn based on fractal spacing
- 🔁 Signal history = optional, toggleable for backtesting
⚙️ Settings and Customization
- Fractal sensitivity (bars left/right)
- Entry mode: Breakout or Rebound
- SL and TP multiplier (based on fractal range)
- Visibility settings (signal history, lines, colors, etc.)
💡 What Makes It Unique
This is not just a variation of standard fractals or a ZigZag wrapper.
Double Fractal Entry was built entirely from scratch and includes:
- ✅ A dual-channel system that shows the live market structure
- ✅ Entry signals based on price behavior around key zones
- ✅ Volatility-adaptive SL/TP levels for realistic trade management
- ✅ Clean, non-repainting logic for both manual and automated use
The goal is to simplify structure trading and provide precise, repeatable entries in any market condition.
🧪 Use Cases
- Breakout mode – Ideal for trend continuation and momentum entries
- Rebound mode – Great for reversals, pullbacks, and range-bound markets
- Can be used standalone or combined with volume/trend filters
🔒 Invite-Only Notice
This is an invite-only script with a fully closed source.
All logic is original and developed by the author. It does not use or copy public open-source scripts, built-in indicators (RSI, MA, etc.), or repainting tricks. The entire entry and risk system is based on custom structural logic built from real-time price action.
⚠️ Disclaimer
This tool is intended for technical analysis and educational use. It does not predict future market direction and should be used with proper risk management and strategy confirmation.
Master Trend Navigator/趋势大师导航仪[4H] by mrlazycat趋势大师导航仪使用说明
⚠ 非常重要,使用指标前请认真阅读这个使用说明
指标核心功能 本指标通过分析比特币的成交量、动能指标(MACD)、相对强弱指数(RSI)、趋势强度和成交量比率,生成在-1到1之间波动的趋势大师导航仪,帮助判断买卖时机。指标最佳适用场为4小时(4H)图表,适合1-2周的中短期交易。该趋势大师导航仪适用于 BTC,ETH, DOGE 等现货成交量大的虚拟货币
趋势曲线解读指南
① 市场状态(曲线颜色)
暗紫色:区间震荡市场 浅红色:弱多头趋势 深红色:强多头趋势 浅绿色:弱空头趋势 深绿色:强空头趋势
② 关键信号区域
红色区域(超买):趋势曲线 ≥ 0.6 时,可能出现回调风险
绿色区域(超卖):趋势曲线 ≤ -0.615 时,可能出现反弹机会
③ 锁定机制
在强多头趋势(深红色)和深绿色(强空头趋势)和部分弱趋势期间:
如果趋势曲线突破红色区域(超买)且市场趋势强度保持在强趋势或较强的弱趋势,趋势曲线会锁定在0.7附近(原始曲线以灰色继续)。
如果趋势曲线跌破绿色区域(超卖)且市场趋势强度保持在强趋势或较强的弱趋势,趋势曲线会锁定在-0.7附近(原始曲线以灰色继续)。 这表示趋势可能继续发展,建议等待锁定期结束后再进行操作。
✅ 极端多头趋势的特殊案例:(如ETH在2025年7月10日到20日,趋势曲线一直维持红色,意味着多头趋势不变。但这段时间ETH的趋势曲线曾跌到超卖区,因此曲线曾在底部锁定3个K线的时间,这意味着是多头右侧追多的机会。)
交易信号
① 超买超卖信号
红色区域(超买):趋势曲线 ≥ 0.6 时,可能出现回调风险
绿色区域(超卖):趋势曲线 ≤ -0.615 时,可能出现反弹机会
② 成交量爆发信号
顶部红色圆圈:代表成交量比率的爆发期,可能在当前或未来1-6根K线内出现阶段性高点。
底部黄色圆圈:代表成交量比率的潜在底部机会,可能在当前或未来1-6根K线内出现阶段性低点。
✅ 注意连续大量的顶部红色圆圈和底部黄色圆圈的出现,这意味着极端行情的出现。
③ 背离信号
顶背离(卖出信号):红色倒三角图标(标记为Bearish divergence\Sell)出现在趋势曲线顶部,当价格创新高但趋势曲线未创新高时触发,预示大幅回调风险。
底背离(买入信号):绿色正三角图标(标记为Bullish divergence\Buy)出现在趋势曲线底部,当价格创新低但趋势曲线未创新低时触发,预示底部反弹机会。
使用注意事项
① 交易所推荐:同时使用币安(Binance)和OKX的BTC/USDT现货数据(不同交易所的量能差异可能影响信号准确性)。
② 特殊行情优化:已针对2024-2025年比特币ETF上市后的低波动行情调整参数,未来将持续根据市场变化优化。
③ 强趋势操作提示:当趋势曲线锁定在超买或超卖区,应减少逆势操作。
④ 首次使用建议:观察历史行情以验证信号特征,震荡市捕捉反转点,趋势市识别延续信号。
最简单操作要诀
✅ 底部抄底组合:强空头趋势转弱空头 + 绿色超卖区 + 底背离绿色三角 + 底部黄色成交量圈
✅ 顶部逃顶组合:强多头趋势转弱多头趋势转换 + 红色超买区 + 顶背离红色三角 + 顶部红色成交量圈
✅ 趋势延续信号:趋势曲线锁定在 ±0.7 时,耐心等待锁定解除
推特联系:Jeffmo0769
Trend Master Navigator User Guide
⚠ Important: Please read this guide carefully before using the indicator
Core Functionality
This indicator analyzes Bitcoin's trading volume, MACD, RSI, trend strength, and volume ratio to generate the Trend Master Navigator, which oscillates between -1 and 1 to assist in buy/sell decisions. The indicator is best suited for 4-hour (4H) charts and is ideal for 1-2 week swing trading.The Trend Master Navigator is suitable for cryptocurrencies with high spot trading volumes, such as BTC , ETH , and DOGE .
Interpreting the Trend Curve
① Market States (Curve Colors)
Dark Purple: Range-bound market
Light Red: Weak bullish trend
Deep Red: Strong bullish trend
Light Green: Weak bearish trend
Deep Green: Strong bearish trend
② Key Signal Zones
Red Zone (Overbought): Trend curve ≥ 0.6 → Potential pullback risk
Green Zone (Oversold): Trend curve ≤ -0.615 → Potential rebound opportunity
③ Locking Mechanism
During strong bullish trends (deep red) and strong bearish trends (deep green), and partial weak trends:
If the trend curve breaks above the red zone (overbought) and market trend strength remains in a strong trend or robust weak trend, the trend curve will lock near 0.7 (original curve continues in gray).
If the trend curve breaks below the green zone (oversold) and market trend strength remains in a strong trend or robust weak trend, the trend curve will lock near -0.7 (original curve continues in gray).
This indicates that the trend may continue, and it is advisable to wait until the lock period ends before taking action.
✅ In the context of extreme bullish trends (e.g., ETH from July 10 to 20, 2025, where the trend curve remained red, indicating a persistent bullish trend), even though ETH's trend curve once dipped into the oversold zone, causing the curve to lock at the bottom for 3 K-line periods, this signifies a right-side buying opportunity during the bullish trend.
Trading Signals
① Overbought/Oversold Signals
Red Zone (Overbought): Trend curve ≥ 0.6 → Potential pullback risk
Green Zone (Oversold): Trend curve ≤ -0.615 → Potential rebound opportunity
② Volume Explosion Signals
Top Red Circle: Represents a volume ratio explosion period, possibly indicating a phase peak within the current or next 1-6 bars.
Bottom Yellow Circle: Represents a potential bottom opportunity in volume ratio, possibly indicating a phase trough within the current or next 1-6 bars.
✅ Pay attention to the continuous appearance of top red circles and bottom yellow circles, as this signals the emergence of extreme market conditions.
③ Divergence Signals
Bearish Divergence (Sell): Red inverted triangle icon (marked as Bearish divergence\Sell) appears at the trend curve top when the price makes a new high, but the trend curve does not; this indicates a significant pullback risk.
Bullish Divergence (Buy): Green upright triangle icon (marked as Bullish divergence\Buy) appears at the trend curve bottom when the price makes a new low, but the trend curve does not; this indicates a potential bottom rebound opportunity.
Other Usage Notes
① Exchange Recommendation: Use Binance and OKX BTC/USDT spot data simultaneously (volume discrepancies across different exchanges may affect signal accuracy).
② Special Market Optimization: Parameters have been adjusted for the low-volatility era following the Bitcoin ETF launch (2024-2025) and will continue to be optimized based on market changes.
③ Strong Trend Operation Tips: When the trend curve is locked in overbought or oversold zones, reduce counter-trend operations.
④ First Use Recommendation: Observe historical market trends to validate signal characteristics. Capture reversal points in range-bound markets and identify continuation signals in trending markets.
Simplest Trading Tactics
✅ Bottom Picking Setup: Transition from strong bearish trend to weak bearish + Green oversold zone + Bullish divergence green triangle + Bottom yellow volume circle
✅ Top Selling Setup: Transition from strong bullish trend to weak bullish trend + Red overbought zone + Bearish divergence red triangle + Top red volume circle
✅ Trend Continuation Signal: Trend curve locked at ±0.7 → Wait patiently for lock release
Contact on X: Jeffmo0769
Intra Candle Volume Distribution @MaxMaserati2.0 INTRA CANDLE VOLUME DISTRIBUTION @MaxMaserati2.0
- Advanced Intra-Candle Distribution Mapping-
Discover the hidden volume dynamics within each candle! This revolutionary indicator analyzes buying vs selling pressure at multiple price levels INSIDE individual candles, revealing volume distribution patterns that traditional indicators completely miss.
✨ KEY FEATURES:
📊 Real-time volume distribution analysis at 4 price levels per candle
🎯 Smart detection - only shows significant volume concentrations
🏆 Winner-only mode for clean, directional signals
📈 Delta analysis showing net buying/selling pressure
📋 Comprehensive statistics table with live and historical data
🎨 Fully customizable colors, sizes, and display options
Selection to see the volume battle between buyer and sellers inside of the candle
Great, if you like to know the why's
🔍 WHAT MAKES IT UNIQUE:
- Advanced algorithms distribute volume across price levels within each candle
- Intelligent filtering eliminates noise, showing only significant volume zones
- Dynamic dot sizing based on volume intensity
- Real-time table comparing current vs previous candle metrics
- Multi-timeframe compatible (works on all timeframes)
- Professional-grade order flow analysis
📚 PERFECT FOR:
- Scalpers seeking precise entry/exit points
- Day traders validating breakouts and reversals
- Volume analysis specialists
- Order flow traders
- Institutional-style analysis on retail platforms
When only the winner (Strongest pressure) of the candle is selected
Better for fast decision making
When the delta is selected
Great to have clear idea of the net volume
🛠️ HOW TO USE:
Simply add to chart and customize to your preference. Green dots = bulls dominating that price level, red dots = bears dominating. Larger dots = higher volume intensity. Use the comprehensive table for detailed volume distribution analysis.
⚡ PERFORMANCE OPTIMIZED:
Efficient code ensures smooth operation without chart lag, even with maximum visual elements.
Support Resistance with Order BlocksIndicator Description
Professional Price Level Detection for Smart Trading. Master the Markets with Precision Support/Resistance and Order Block Analysis . It provides traders with clear visual cues for potential reversal and breakout areas, combining both retail and institutional trading concepts into one powerful tool.
The Support & Resistance with Order Blocks indicator is a versatile Pine Script tool designed to empower traders with clear, actionable insights into key market levels. By combining advanced pivot-based support and resistance (S/R) detection with order block (OB) filtering, this indicator delivers clean, high-probability zones for entries, exits, and reversals. With customizable display options (boxes or lines) and intuitive settings, it’s perfect for traders of all styles—whether you’re scalping, swing trading, or investing long-term. Overlay it on your TradingView chart and elevate your trading strategy today!
________________________________________
Key Features
✅ Dynamic Support/Resistance - Auto-adjusting levels based on price action
✅ Smart Order Block Detection - Identifies institutional buying/selling zones
✅ Dual Display Modes - Choose between Boxes or Clean Lines for different chart styles
✅ Customizable Sensitivity - Adjust detection parameters for different markets
✅ Broken Level Markers - Clearly shows when key levels are breached
✅ Timeframe-Adaptive - Automatically adjusts for daily/weekly charts
1. Dynamic Support & Resistance Detection
Identifies critical S/R zones using pivot high/low calculations with adjustable look back periods.
Visualizes active S/R zones with distinct colors and labels ("Support" or "Resistance" for boxes, lines for cleaner charts).
Marks broken S/R levels as "Br S" (broken support) or "Br R" (broken resistance) when historical display is enabled, aiding in breakout and reversal analysis.
2. Smart Order Block Identification
Detects bullish and bearish order blocks based on significant price movements (default: ±0.3% over 5 candles).
Highlights institutional buying/selling zones with customizable colors, displayed as boxes or lines.
Filters out overlapping OB zones to keep your chart clutter-free.
3. Dual Display Options
Boxes or Lines: Choose to display S/R and OB as boxes for detailed zones or lines for a minimalist view.
Line Width Customization: Adjust line widths for S/R and OB (1–5 pixels) for optimal visibility.
Color Customization: Tailor colors for active/broken S/R and bullish/bearish OB zones.
4. Advanced Overlap Filtering
Ensures S/R zones don’t overlap with OB zones or other S/R levels, providing only the most relevant levels.
Limits the number of active zones (default: 10) to maintain chart clarity.
5. Historical S/R Visualization
Optionally display broken S/R levels with distinct colors and labels ("Br S" or "Br R") to track historical price reactions.
Broken levels are dynamically updated and removed (or retained) based on user settings.
6. Timeframe Adaptability
Automatically adjusts pivot detection for daily/weekly timeframes (40-candle look back) versus shorter timeframes (20-candle look back).
Works seamlessly across all asset classes (stocks, forex, crypto, etc.) and timeframes.
________________________________________
How It Works
• Support & Resistance:
Uses ta.pivothigh and ta.pivotlow to detect significant price pivots, with a user-defined look back (default: 5 candles post-pivot).
Plots S/R as boxes (with labels "Support" or "Resistance") or lines, extending to the current bar for real-time relevance.
Broken S/R levels are marked with adjusted colors and labels ("S" or "R" for boxes, "Br S" or "Br R" for lines when historical display is enabled).
• Order Blocks:
Identifies OB based on strong price movements over 4 candles, plotted as boxes or lines at the candle’s midpoint.
Validates OB to prevent overlap, ensuring only significant zones are displayed.
Removes OB zones when price breaks through, keeping the chart focused on active levels.
• Customization:
Toggle S/R and OB visibility, adjust detection sensitivity, and set maximum active zones (4–50).
Fine-tune line widths and colors for a personalized chart experience.
________________________________________
Why Use This Indicator?
• Precision Trading: Pinpoint high-probability entry/exit zones with filtered S/R and OB levels.
• Clean Charts: Overlap filtering and zone limits reduce clutter, focusing on key levels.
• Versatile Display: Switch between boxes for detailed zones or lines for simplicity, with adjustable line widths.
• Institutional Edge: Leverage OB detection to align with institutional activity for smarter trades.
• User-Friendly: Intuitive settings and clear visuals make it accessible for beginners and pros alike.
________________________________________
Settings Overview________________________________________
⚙ Input Parameters
Settings Overview
Display Options:
Display Type: Choose "Boxes" or "Lines" for S/R and OB visualization.
S/R Line Width: Set line thickness for S/R lines (1–5 pixels, default: 2).
OB Line Width: Set line thickness for OB lines (1–5 pixels, default: 2).
Order Block Options:
Show Order Block: Enable/disable OB display.
Bull/Bear OB Colors: Customise border and fill colors for bullish and bearish OB zones.
Support/Resistance Options:
Show S/R: Toggle active S/R zones.
Show Historical S/R: Display broken S/R levels, marked as "Br S" or "Br R" for lines.
Detection Period: Set candle lookback for pivot detection (4–50, default: 5).
Max Active Zones: Limit active S/R and OB zones (4–50, default: 10).
Colors: Customise active and broken S/R colors for clear differentiation.
________________________________________
How to Use
1. Add to Chart: Apply the indicator to your TradingView chart.
2. Customize Settings:
o Select "Boxes" or "Lines" for your preferred display style.
o Adjust line widths, colors, and detection parameters to suit your trading style.
o Enable "Show Historical S/R" to track broken levels with "Br S" and "Br R" labels.
3. Analyze Levels:
o Use support zones (green) for buy entries and resistance zones (red) for sell entries.
o Monitor OB zones for institutional activity, signaling potential reversals or continuations.
o Watch for "Br S" or "Br R" labels to identify breakout opportunities.
4. Combine with Other Tools: Pair with trend indicators, volume analysis, or price action for a robust strategy.
5. Monitor Breakouts: Trade breakouts when price breaches S/R or OB zones, with historical labels providing context.
________________________________________
Example Use Cases
• Swing Trading: Use S/R and OB zones to identify entry/exit points, with historical broken levels for context.
• Breakout Trading: Trade price breaks through S/R or OB, using "Br S" and "Br R" labels to confirm reversals.
• Scalping: Adjust detection period for faster S/R and OB identification on lower timeframes.
________________________________________
• Performance: Optimized for all timeframes, with best results on 5M, 15M, 30M, 1H, 4H, or daily charts for swing trading.
• Compatibility: Works with any asset class and TradingView chart.
________________________________________
Get Started
Transform your trading with Support & Resistance with Order Blocks! Add it to your chart, customize it to your style, and trade with confidence. For questions or feedback, drop a comment on TradingView or message the author. Happy trading! 🚀
________________________________________
Disclaimer: This indicator is for educational and informational purposes only. Always conduct your own analysis and practice proper risk management before trading.